//
//  UIViewController+itv.h
//  itv
//
//  Created by Zhang Yinghui on 11-12-29.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BKDropMenu.h"
#import "BKDropTitleView.h"

@interface BKViewController : UIViewController<UIAlertViewDelegate,BKDropMenuDelegate>{
	CGRect _frame;
}
@property (nonatomic, retain) IBOutlet UILabel *titleLabel;

- (void)setNavigationBarBackgroundImage:(UIImage *)backgroundImage;
- (void)setTitle:(NSString *)title withImageURL:(NSURL *)imageURL;
- (void)setDropMenuTitle:(NSString *)title;
- (void)showDropMenu:(id)sender;
- (void)addBackButton;
- (void)reset;
- (BOOL)shouldPopViewController:(UIViewController *)controller;
- (IBAction)popViewController:(id)sender;
- (void)showMessage:(NSString *)msg;
- (void)showMessage:(NSString *)msg duration:(float)duration;
- (void)showMessageAndFadeOut:(NSString *)msg;
- (void)fadeOut;
- (void)fadeOutAfterDelay:(float)t;
- (void)setHttpRequest:(id)request forKey:(NSString *)key;
@end
